<#macro StartPage title="">
	<#include "/templates/header.ftl"/>
	<body>
		<div data-role="page" id="page${title}" data-theme="a">
			<div data-role="header"> 
				<a href="userLogout.action" data-theme="a" data-icon="back">Wyloguj</a>
				<h1>${title}</h1> 
			</div> 
			<div data-role="content" data-theme="a">
				<#nested>
			</div>
		</div>
	</body>
</html>
</#macro>

<#macro Page title="">
	<#include "/templates/header.ftl"/>
	<body>
		<div data-role="page" id="page${title}" data-theme="a">
			<div data-role="header"> 
				<a href="userLogin.action" data-theme="a" data-icon="home">Strona główna</a>
				<h1>${title}</h1> 
			</div> 
			<div data-role="content" data-theme="a">
				<#nested>
			</div>
		<script type="text/javascript" src="scripts/modules/app.js" ></script>
		<script type="text/javascript" src="scripts/modules/kursanci.js" ></script>
		<script type="text/javascript" src="scripts/modules/karty.js" ></script>
		<script type="text/javascript" src="scripts/modules/placManewrowy.js" ></script>
		<script type="text/javascript" src="scripts/modules/harmonogram.js" ></script>
		</div>
	</body>
</html>
</#macro>
